// pages/user-page/user-page.js
const { getUserSession, wxUserInfo, wxUserPhone } = require('../../utils/user.js');
var app = getApp();
let self
Page({

  /**
   * 页面的初始数据
   */
	data: {
		canIUse: wx.canIUse('button.open-type.getUserInfo'),
	},
  /**
   * 生命周期函数--监听页面加载
   */
	onLoad: function (options) {
		self = this;
	},
	bindGetUserInfo: function (e) {
		wx.reLaunch({
			url: '/pages/index/index',
		})
	},
	// getPhoneNumber: function (res){
	// 		wx.navigateBack({
	// 			delta: 1
	// 		})
	// }
})